package net.huashitong.supervision.AppNew.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;
import net.huashitong.supervision.AppNew.OverdueDept;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class OverDueDeptDao extends StringDao<OverdueDept> {



    public List<OverdueDept> getOverDept(String year)
    {
        GenericQuery query = createQuery("obj");
        query.append(" and overYear=:overYear").setParam("overYear",year);
        return query.listResult();
    }

}
